<template>
  <div style="width: 100%">
    <h3 class="order-title" style="letter-spacing: 1px;font-weight: 400;padding-bottom: 20px">我的订单</h3>

    <div>
      <el-card class="box-card">
        <div style="">
          <img class="item-film-img" alt="" src="../../assets/img/VIP.png"/>
          <div style="float: left;">
            <div class="item-film-name">网站VIP</div>
            <div class="item-film-seat">支付宝交易凭证号 :{{ orderVIP.tradeNo }}</div>
            <div class="item-film-time">商户订单号 :{{ orderVIP.outTradeNo }}</div>
            <div class="item-film-time">支付时间 :{{ orderVIP.paymentTime }}</div>
          </div>
          <div style="color: #67C23A" class="o1">
            支付成功
          </div>
          <div class="o2">￥20.00</div>
        </div>
      </el-card>
    </div>

  </div>
</template>

<script>
import {GetDetailsById} from "@/api/order";


export default {
  name: "Order",

  data() {
    return {
      orderVIP: null,
    }
  },

  mounted() {

    GetDetailsById().then(res => {

          this.orderVIP = res.data
        }
    )

    //this.loadOrder()


  },

  methods: {},

}
</script>

<style scoped>

.box-card {
  margin-bottom: 10px;
}


.item-film-img {
  float: left;
  width: 100px;
  height: 100px;
  padding-bottom: 10px;
  padding-right: 10px;
}

.item-film-name {
  letter-spacing: 2px;
  font-weight: 500;
  font-size: 18px;
  padding-bottom: 12px;
  padding-top: 1px;
  padding-left: 10px;
}

.c-img {
  width: 100%;
  height: 100%;
}

.item-film-seat {
  letter-spacing: 1px;
  font-size: 12px;
  padding-bottom: 5px;
  padding-left: 10px;
  color: #91949c;
}

.item-film-time {
  letter-spacing: 1px;
  font-size: 12px;
  padding-left: 10px;
  padding-bottom: 5px;
  color: #91949c;
}

.o1 {
  float: right;
  line-height: 100px;
  padding-right: 20px
}

.o2 {
  font-size: 20px;
  float: right;
  line-height: 100px;
  padding-right: 100px
}

.order-title {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, Helvetica, sans-serif, "宋体";
  color: #f0f0f0;
}

::v-deep .el-card {
  background-color: #4c3f6a;
  border: none;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, Helvetica, sans-serif, "宋体";
  color: #f0f0f0;
}
</style>
